package com.eden.view;
import javafx.application.Application;
import javafx.stage.Stage;
import javafx.scene.Group;
import javafx.scene.paint.Color;
import javafx.scene.Scene;
import javafx.scene.shape.Circle;
public class ColorfulCircles extends Application {
 
    public static void main(String[] args) {
        launch(args);
    }
    
    @Override
    public void start(Stage primaryStage) {
        Group root = new Group();
		Scene scene = new Scene(root, 800, 600, Color.BLACK);
		Group circles = new Group();
		for (int i = 0; i < 30; i++) {
		   Circle circle = new Circle(150, Color.web("white", 0.05));
		   //circle.setStrokeType(StrokeType.OUTSIDE);
		   circle.setStroke(Color.web("white", 0.16));
		   circle.setStrokeWidth(4);
		   circles.getChildren().add(circle);
		}
		root.getChildren().add(circles);
		primaryStage.setScene(scene);
        primaryStage.show();
    }
}